package cn.cmeizu.spring6.iocxml.auto.service.impl;

import cn.cmeizu.spring6.iocxml.auto.dao.UserDao;
import cn.cmeizu.spring6.iocxml.auto.service.UserService;

/**
 * @author cmeizu
 * @date 2023/2/9 22:59
 */
public class UserServiceImpl implements UserService {
  private UserDao userDao;

  public void setUserDao(UserDao userDao) {
    this.userDao = userDao;
  }

  @Override
  public void addUserService() {
    System.out.println("执行userService方法");
    userDao.addUserDao();
  }
}
